From 0b59f17d6344ed7f1112cf3e36a9ee9de8850661 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 27 Apr 2017 11:37:46 -0700 Subject: [PATCH] Update dependencies Cargo uses Namely update to serde 1.0.0! --- Cargo.lock | 73 ++++++++++++------------ Cargo.toml | 12 ++-- src/cargo/core/package_id.rs | 4 +- src/cargo/core/resolver/encode.rs | 4 +- src/cargo/core/source.rs | 4 +- src/cargo/ops/cargo_rustc/fingerprint.rs | 8 +-- src/cargo/util/toml.rs | 44 +++++++------- src/crates-io/Cargo.toml | 6 +- tests/cargotest/Cargo.toml | 4 +- 9 files changed, 80 insertions(+), 79 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1691a675..2cfea7e5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,9 +3,9 @@ name = "cargo" version = "0.19.0" dependencies = [ "advapi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bufstream 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bufstream 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "cargotest 0.1.0", - "chrono 0.2.25 (registry+https://github.com/rust-lang/crates.io-index)", + "chrono 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "crates-io 0.8.0", "crossbeam 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", "curl 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -28,15 +28,15 @@ dependencies = [ "psapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)", "semver 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_ignored 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_ignored 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "shell-escape 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tar 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "term 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "toml 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -78,14 +78,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bufstream" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "cargotest" version = "0.1.0" dependencies = [ - "bufstream 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bufstream 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "cargo 0.19.0", "filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -95,8 +95,8 @@ dependencies = [ "libc 0.2.22 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "tar 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "term 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -111,7 +111,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "chrono" -version = "0.2.25" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", @@ -131,9 +131,9 @@ name = "crates-io" version = "0.8.0" dependencies = [ "curl 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -594,44 +594,45 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde" -version = "0.9.15" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "serde_codegen_internals" -version = "0.14.2" +name = "serde_derive" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive_internals 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "serde_derive" -version = "0.9.15" +name = "serde_derive_internals" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_codegen_internals 0.14.2 (registry+https://github.com/rust-lang/crates.io-index)", "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", + "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "serde_ignored" -version = "0.0.2" +version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "serde_json" -version = "0.9.10" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "dtoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "itoa 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -736,10 +737,10 @@ dependencies = [ [[package]] name = "toml" -version = "0.3.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -826,9 +827,9 @@ dependencies = [ "checksum aho-corasick 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "500909c4f87a9e52355b26626d890833e9e1d53ac566db76c36faa984b889699" "checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d" "checksum bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1370e9fc2a6ae53aea8b7a5110edbd08836ed87c88736dfabccade1c2b44bff4" -"checksum bufstream 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7b48dbe2ff0e98fa2f03377d204a9637d3c9816cd431bfe05a8abbd0ea11d074" +"checksum bufstream 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f2f382711e76b9de6c744cc00d0497baba02fb00a787f088c879f01d09468e32" "checksum cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "de1e760d7b6535af4241fca8bd8adf68e2e7edacc6b29f5d399050c5e48cf88c" -"checksum chrono 0.2.25 (registry+https://github.com/rust-lang/crates.io-index)" = "9213f7cd7c27e95c2b57c49f0e69b1ea65b27138da84a170133fd21b07659c00" +"checksum chrono 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "158b0bd7d75cbb6bf9c25967a48a2e9f77da95876b858eadfabaa99cd069de6e" "checksum cmake 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "d18d68987ed4c516dcc3e7913659bfa4076f5182eea4a7e0038bb060953e76ac" "checksum crossbeam 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "0c5ea215664ca264da8a9d9c3be80d2eaf30923c259d03e870388eb927508f97" "checksum curl 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c90e1240ef340dd4027ade439e5c7c2064dd9dc652682117bd50d1486a3add7b" @@ -884,11 +885,11 @@ dependencies = [ "checksum rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)" = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda" "checksum semver 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -"checksum serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)" = "34b623917345a631dc9608d5194cc206b3fe6c3554cd1c75b937e55e285254af" -"checksum serde_codegen_internals 0.14.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc888bd283bd2420b16ad0d860e35ad8acb21941180a83a189bb2046f9d00400" -"checksum serde_derive 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)" = "978fd866f4d4872084a81ccc35e275158351d3b9fe620074e7d7504b816b74ba" -"checksum serde_ignored 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4b3f5576874721d14690657e9f0ed286e72a52be2f6fdc0cf2f024182bd8f64" -"checksum serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ad8bcf487be7d2e15d3d543f04312de991d631cfe1b43ea0ade69e6a8a5b16a1" +"checksum serde 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1be24992f20bb7dfb9932a152a6f51ed7f756ebd8df1ea707ecab09d615d3ede" +"checksum serde_derive 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "94f3c3fd5cd27ffda6e1f330daed369d087b50557d59bd19c230c893f4fced60" +"checksum serde_derive_internals 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "021c338d22c7e30f957a6ab7e388cb6098499dda9fd4ba1661ee074ca7a180d1" +"checksum serde_ignored 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c10e798e4405d7dcec3658989e35ee6706f730a9ed7c1184d5ebd84317e82f46" +"checksum serde_json 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e9b1ec939469a124b27e208106550c38358ed4334d2b1b5b3825bc1ee37d946a" "checksum shell-escape 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "dd5cc96481d54583947bfe88bf30c23d53f883c6cd0145368b69989d97b84ef8" "checksum strsim 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694" "checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad" @@ -901,7 +902,7 @@ dependencies = [ "checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" "checksum thread_local 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c85048c6260d17cf486ceae3282d9fb6b90be220bf5b28c400f5485ffc29f0c7" "checksum time 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "ffd7ccbf969a892bf83f1e441126968a07a3941c24ff522a26af9f9f4585d1a3" -"checksum toml 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bd86ad9ebee246fdedd610e0f6d0587b754a3d81438db930a244d0480ed7878f" +"checksum toml 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3063405db158de3dce8efad5fc89cf1baffb9501a3647dc9505ba109694ce31f" "checksum unicode-bidi 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d3a078ebdd62c0e71a709c3d53d2af693fe09fe93fbff8344aebe289b78f9032" "checksum unicode-normalization 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "e28fa37426fceeb5cf8f41ee273faa7c82c47dc8fba5853402841e665fcd86ff" "checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc" diff --git a/Cargo.toml b/Cargo.toml index 2785713c8..09c90260b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ name = "cargo" path = "src/cargo/lib.rs" [dependencies] -chrono = "0.2.25" +chrono = "0.3.0" crates-io = { path = "src/crates-io", version = "0.8" } crossbeam = "0.2" curl = "0.4.6" @@ -35,15 +35,15 @@ log = "0.3" num_cpus = "1.0" rustc-serialize = "0.3" semver = "0.6.0" -serde = "0.9" -serde_derive = "0.9" -serde_json = "0.9" -serde_ignored = "0.0.2" +serde = "1.0" +serde_derive = "1.0" +serde_json = "1.0" +serde_ignored = "0.0.3" shell-escape = "0.1" tar = { version = "0.4", default-features = false } tempdir = "0.3" term = "0.4.4" -toml = "0.3" +toml = "0.4" url = "1.1" [target.'cfg(unix)'.dependencies] diff --git a/src/cargo/core/package_id.rs b/src/cargo/core/package_id.rs index e2bd95c08..f7d67300a 100644 --- a/src/cargo/core/package_id.rs +++ b/src/cargo/core/package_id.rs @@ -36,9 +36,9 @@ impl ser::Serialize for PackageId { } } -impl de::Deserialize for PackageId { +impl<'de> de::Deserialize<'de> for PackageId { fn deserialize(d: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { let string = String::deserialize(d)?; let mut s = string.splitn(3, ' '); diff --git a/src/cargo/core/resolver/encode.rs b/src/cargo/core/resolver/encode.rs index cc7c90ccb..61f8daa52 100644 --- a/src/cargo/core/resolver/encode.rs +++ b/src/cargo/core/resolver/encode.rs @@ -270,9 +270,9 @@ impl ser::Serialize for EncodablePackageId { } } -impl de::Deserialize for EncodablePackageId { +impl<'de> de::Deserialize<'de> for EncodablePackageId { fn deserialize(d: D) -> Result - where D: de::Deserializer, + where D: de::Deserializer<'de>, { String::deserialize(d).and_then(|string| { string.parse::() diff --git a/src/cargo/core/source.rs b/src/cargo/core/source.rs index 142adfdb6..75f83710c 100644 --- a/src/cargo/core/source.rs +++ b/src/cargo/core/source.rs @@ -355,9 +355,9 @@ impl ser::Serialize for SourceId { } } -impl de::Deserialize for SourceId { +impl<'de> de::Deserialize<'de> for SourceId { fn deserialize(d: D) -> Result - where D: de::Deserializer, + where D: de::Deserializer<'de>, { let string = String::deserialize(d)?; SourceId::from_url(&string).map_err(de::Error::custom) diff --git a/src/cargo/ops/cargo_rustc/fingerprint.rs b/src/cargo/ops/cargo_rustc/fingerprint.rs index 25c734a62..dbae58eec 100644 --- a/src/cargo/ops/cargo_rustc/fingerprint.rs +++ b/src/cargo/ops/cargo_rustc/fingerprint.rs @@ -150,8 +150,8 @@ fn serialize_deps(deps: &Vec<(String, Arc)>, ser: S) }).collect::>().serialize(ser) } -fn deserialize_deps(d: D) -> Result)>, D::Error> - where D: de::Deserializer, +fn deserialize_deps<'de, D>(d: D) -> Result)>, D::Error> + where D: de::Deserializer<'de>, { let decoded = >::deserialize(d)?; Ok(decoded.into_iter().map(|(name, hash)| { @@ -290,9 +290,9 @@ impl ser::Serialize for MtimeSlot { } } -impl de::Deserialize for MtimeSlot { +impl<'de> de::Deserialize<'de> for MtimeSlot { fn deserialize(d: D) -> Result - where D: de::Deserializer, + where D: de::Deserializer<'de>, { let kind: Option<(u64, u32)> = de::Deserialize::deserialize(d)?; Ok(MtimeSlot(Mutex::new(kind.map(|(s, n)| { diff --git a/src/cargo/util/toml.rs b/src/cargo/util/toml.rs index b379567b5..24006bf22 100644 --- a/src/cargo/util/toml.rs +++ b/src/cargo/util/toml.rs @@ -196,13 +196,13 @@ pub enum TomlDependency { Detailed(DetailedTomlDependency) } -impl de::Deserialize for TomlDependency { +impl<'de> de::Deserialize<'de> for TomlDependency { fn deserialize(deserializer: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { struct TomlDependencyVisitor; - impl de::Visitor for TomlDependencyVisitor { + impl<'de> de::Visitor<'de> for TomlDependencyVisitor { type Value = TomlDependency; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { @@ -217,14 +217,14 @@ impl de::Deserialize for TomlDependency { } fn visit_map(self, map: V) -> Result - where V: de::MapVisitor + where V: de::MapAccess<'de> { - let mvd = de::value::MapVisitorDeserializer::new(map); + let mvd = de::value::MapAccessDeserializer::new(map); DetailedTomlDependency::deserialize(mvd).map(TomlDependency::Detailed) } } - deserializer.deserialize(TomlDependencyVisitor) + deserializer.deserialize_any(TomlDependencyVisitor) } } @@ -282,13 +282,13 @@ pub struct TomlProfiles { #[derive(Clone)] pub struct TomlOptLevel(String); -impl de::Deserialize for TomlOptLevel { +impl<'de> de::Deserialize<'de> for TomlOptLevel { fn deserialize(d: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { struct Visitor; - impl de::Visitor for Visitor { + impl<'de> de::Visitor<'de> for Visitor { type Value = TomlOptLevel; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { @@ -323,13 +323,13 @@ pub enum U32OrBool { Bool(bool), } -impl de::Deserialize for U32OrBool { +impl<'de> de::Deserialize<'de> for U32OrBool { fn deserialize(deserializer: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { struct Visitor; - impl de::Visitor for Visitor { + impl<'de> de::Visitor<'de> for Visitor { type Value = U32OrBool; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { @@ -355,7 +355,7 @@ impl de::Deserialize for U32OrBool { } } - deserializer.deserialize(Visitor) + deserializer.deserialize_any(Visitor) } } @@ -381,13 +381,13 @@ pub enum StringOrBool { Bool(bool), } -impl de::Deserialize for StringOrBool { +impl<'de> de::Deserialize<'de> for StringOrBool { fn deserialize(deserializer: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { struct Visitor; - impl de::Visitor for Visitor { + impl<'de> de::Visitor<'de> for Visitor { type Value = StringOrBool; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { @@ -407,7 +407,7 @@ impl de::Deserialize for StringOrBool { } } - deserializer.deserialize(Visitor) + deserializer.deserialize_any(Visitor) } } @@ -446,13 +446,13 @@ pub struct TomlVersion { version: semver::Version, } -impl de::Deserialize for TomlVersion { +impl<'de> de::Deserialize<'de> for TomlVersion { fn deserialize(d: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { struct Visitor; - impl de::Visitor for Visitor { + impl<'de> de::Visitor<'de> for Visitor { type Value = TomlVersion; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { @@ -1100,9 +1100,9 @@ struct TomlTarget { #[derive(Clone)] struct PathValue(PathBuf); -impl de::Deserialize for PathValue { +impl<'de> de::Deserialize<'de> for PathValue { fn deserialize(deserializer: D) -> Result - where D: de::Deserializer + where D: de::Deserializer<'de> { Ok(PathValue(String::deserialize(deserializer)?.into())) } diff --git a/src/crates-io/Cargo.toml b/src/crates-io/Cargo.toml index 9bc99f34b..646db38c1 100644 --- a/src/crates-io/Cargo.toml +++ b/src/crates-io/Cargo.toml @@ -14,7 +14,7 @@ path = "lib.rs" [dependencies] curl = "0.4" -serde = "0.9" -serde_derive = "0.9" -serde_json = "0.9" +serde = "1.0" +serde_derive = "1.0" +serde_json = "1.0" url = "1.0" diff --git a/tests/cargotest/Cargo.toml b/tests/cargotest/Cargo.toml index 233a378d3..e5c29f95d 100644 --- a/tests/cargotest/Cargo.toml +++ b/tests/cargotest/Cargo.toml @@ -17,8 +17,8 @@ kernel32-sys = "0.2" libc = "0.2" log = "0.3" rustc-serialize = "0.3" -serde = "0.9" -serde_json = "0.9" +serde = "1.0" +serde_json = "1.0" tar = { version = "0.4", default-features = false } tempdir = "0.3" term = "0.4.4" -- 2.30.2